﻿using System;
using System.Collections.Generic;

namespace Core
{
    public class ListComponent<T> : List<T>, IDisposable
    {
        void IDisposable.Dispose()
        {
            if (this.Capacity < 64)
            {
                this.Clear();
            }
        }
    }
}